<?php

namespace Topxia\Service\Kuke\Dao\Impl;

use Topxia\Service\Common\BaseDao;
use Topxia\Service\Kuke\Dao\FankuiDao;

class FankuiDaoImpl extends BaseDao implements FankuiDao
{
    protected $table = 'fankui';

	public function submit($conditions){
		$sql = "insert into {$this->table} (daan,tigan,xuanxiang,tupian,jiexi,shuoming) values({$conditions['daan']},{$conditions['tigan']},{$conditions['xuanxiang']},{$conditions['tupian']},{$conditions['jiexi']},'{$conditions['shuoming']}')";
		return $this->getConnection()->exec($sql);
	}
}